package com.teamwings.api.vo;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

/**
 * 表单及其所属控件详细信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class FormInfoDetailVo implements Serializable {
    //表单ID
    private String formId;
    //表单名称
    private String formName;
    //表单描述
    private String formDesc;
    //普通类型组件(只读、编辑、隐藏) <MyField FieldName=”fdocid” FieldDesc=”编号” set=”readonly,editable,hidden”/>
    private List<FormControlInfoVo> formBaseControls = new LinkedList<>();
    //按钮类型组件(只读、隐藏) set=”readonly, hidden”
    private List<FormControlInfoVo> formButtonControls = new LinkedList<>();
    //正文附件(只读、编辑、隐藏) <MyField FieldName=”fdocid” FieldDesc=”编号” set=”readonly,editable,hidden”/>
    private List<FormControlInfoVo> zhenWenControls = new LinkedList<>();
    //意见类型组件(不显示、类型1、类型2、……)
    private List<FormControlInfoVo> formCommentControls = new LinkedList<>();


}
